package bjtu.cit.bookshop.daos;

import bjtu.cit.bookshop.entities.OrderBook;

import java.util.List;

public interface OrderBookMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderBook record);

    int insertSelective(OrderBook record);

    OrderBook selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderBook record);

    int updateByPrimaryKey(OrderBook record);

    List<OrderBook> selectListByOrderId(int orderid);

    int deleteByOrderid(Integer id);
}